using System.ComponentModel.DataAnnotations;

namespace Comteck.Dto.Users {
  /// <summary>
  /// 
  /// </summary>
  public class LoginUserDto {
    /// <summary>
    /// 用户名
    /// </summary>
    [Display(Name = "用户名")]
    [Required(ErrorMessage = "{0} 不能为空")]
    public virtual string UserId { get; set; }

    /// <summary>
    /// 密码
    /// </summary>
    [Display(Name = "密码")]
    [Required(ErrorMessage = "{0} 不能为空")]
    public virtual string Password { get; set; }
  }
}
